package www.openteam.com.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * 产品
 * Created by kylin on 2016/11/23.
 */

public class PbProductInfo {

    /**
     * status : true
     * info : success
     * data : [{"rownumber":"11","code":"1ACB10-00239","pbName":"POLAR
     * 171×127.5×74","PaperInf":"230g单粉","technicsinf":""},{"rownumber":"12","code":"1ACB10-00240","pbName":"POLAR BOX CS600  237×127.5×74.5","PaperInf":"230g单粉","technicsinf":""},{"rownumber":"13","code":"1ACB10-00241","pbName":"POLAR BOX GEN B  171×127.5×74.5","PaperInf":"230g单粉","technicsinf":""},{"rownumber":"14","code":"1ACB10-00242","pbName":"POLAR BOX GEN A  127.5×74.5×171","PaperInf":"230g单粉","technicsinf":""},{"rownumber":"15","code":"1ACB10-00243","pbName":"Watch box cs600_Gen  127.5×71.5×171","PaperInf":"230g单粉","technicsinf":""},{"rownumber":"16","code":"1ACB10-00244","pbName":"Watch box cs600_Gen  127.5×71.5×171","PaperInf":"230g单粉","technicsinf":""},{"rownumber":"17","code":"1ACB10-00245","pbName":"Polar BOX BLK CE NA A  170×127×73.5","PaperInf":"230g单粉","technicsinf":""},{"rownumber":"18","code":"1ACB10-00246","pbName":"Polar BOX BLK CE0537 NA A  170×127×73.5","PaperInf":"230g单粉","technicsinf":""},{"rownumber":"19","code":"1ACB10-00247","pbName":"Polar BOX BLK CE0537 NA B  170×127×73.5","PaperInf":"230g单粉","technicsinf":""},{"rownumber":"20","code":"1ACB10-00248","pbName":"Polar BOX BLK Team Tina Kit  348×184.5×74.5","PaperInf":"230g单粉","technicsinf":""}]
     */

    private List<DataEntity> data;


    public List<DataEntity> getData() {
        return data;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public static class DataEntity implements Parcelable {
        /**
         * rownumber : 11
         * code : 1ACB10-00239
         * pbName : POLAR  171×127.5×74
         * PaperInf : 230g单粉
         * technicsinf :
         */

        private String rownumber;
        private String code;
        private String pbName;
        private String PaperInf;
        private String technicsinf;


        public DataEntity(Parcel in) {
            rownumber = in.readString();
            code = in.readString();
            pbName = in.readString();
            PaperInf = in.readString();
            technicsinf = in.readString();
        }

        public static final Creator<DataEntity> CREATOR = new Creator<DataEntity>() {
            @Override
            public DataEntity createFromParcel(Parcel in) {
                return new DataEntity(in);
            }

            @Override
            public DataEntity[] newArray(int size) {
                return new DataEntity[size];
            }
        };

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(rownumber);
            dest.writeString(code);
            dest.writeString(pbName);
            dest.writeString(PaperInf);
            dest.writeString(technicsinf);
        }

        public String getRownumber() {
            return rownumber;
        }

        public void setRownumber(String rownumber) {
            this.rownumber = rownumber;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getPbName() {
            return pbName;
        }

        public void setPbName(String pbName) {
            this.pbName = pbName;
        }

        public String getPaperInf() {
            return PaperInf;
        }

        public void setPaperInf(String PaperInf) {
            this.PaperInf = PaperInf;
        }

        public String getTechnicsinf() {
            return technicsinf;
        }

        public void setTechnicsinf(String technicsinf) {
            this.technicsinf = technicsinf;
        }
    }
}
